Function Subspace :: _f32 literal
For writing f32
literals.
Floating point literals qualified with f
are also 32 bits large, but the
_f32
suffix forces a safe numeric type instead of a primitive value when
this is needed (such as for templates or member function access).
Integer values that are not representable by f32
will
converted by the same rules as for Cast
.
Floating point values out of range for f32
will fail to
compile.
Examples
auto i = 123_f32 - (5_f32).abs();
sus_check(i == 118_f32);